package com.gitee.hongruisun.promotion;

/**
 * 促销活动
 */
public class PromotionActivity {

   private IPromotionStrategy promotionStrategy;

   public PromotionActivity(IPromotionStrategy promotionStrategy){
       this.promotionStrategy = promotionStrategy;
   }

   public void execute(){
       promotionStrategy.doPromotion();
   }

}
